package com.jkgl.model.userinfoday;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class UserInfoTodayDTO {

    /**
     * 步数
     */
    private String stepNumber;

    /**
     * 当日饮水量
     */
    private String waterVolume;

    /**
     * 入睡时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime sleepTime;

    /**
     * 起床时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime wakeupTime;

    /**
     * 血压  收缩压/舒张压 mmHg
     */
    private String bloodPressure;

    /**
     * 收缩压
     */
    private Integer sbp;

    /**
     * 舒张压
     */
    private Integer dbp;


    /**
     * 当日体重
     */
    private String weightDiff;


    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDate createTime;

    private Integer continuousDays;


    /**
     * 深度睡眠
     */
    private Double deepSleepPercentage;

    /**
     * 浅睡眠
     */
    private Double lightSleepPercentage;

    /**
     * REM
     */
    private Double remSleepPercentage;
}
